package dp.structual.decorator.coffee.decorator;

import dp.structual.decorator.coffee.Coffee;

public abstract class CoffeeDecorator implements Coffee{

    protected final Coffee coffee;

    public CoffeeDecorator(Coffee coffee) {
        this.coffee = coffee;
    }

    @Override
    public double getCost() {
        return this.coffee.getCost();
    }

    @Override
    public String getDescription() {
        return this.coffee.getDescription();
    }
}
